<?php
include("./include.php"); 

$op=$_GET["op"];

$message = "";


if($op==1) //update
{
	$keyword=$_POST["keyword"];
	$keyword = set_singlecontent($conn, "keyword", $keyword);

	$message = "關鍵字已更新";
	

}
else //一般
{
	

}

$keyword = get_singlecontent($conn, "keyword");
$tpl->assign("keyword",$keyword);

$tpl->assign("message",$message);
$tpl->display('seo.html');




?>